<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
        <script type="text/javascript">
            function copiar(){
                document.getElementById("field2").value=document.getElementById("field1").value;
            }
        </script>
    </head>
    <body>
        <input type="text" id="field1" name="field1" onkeyup="copiar()" onblur="copiar()">
        <input type="text" id="field2" name="field2" disabled>
    </body>
</html>
